package cn.tedu.eguser.pojo.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
@Data
public class UserAddParam {
    @Pattern(regexp = "^[a-zA-Z0-9_]{6,12}$",message = "用户名长度在6-12位之间")
    private String username;
    private String password;
    private String nickname;


}
